export default {
  setHeaderTitle (state, routeName) {
    switch (routeName) {
      case 'day':
        state.headerTitle = '当天信息';
        break;
      case 'mounth':
        state.headerTitle = '近期假期';
        break;
      case 'year':
        state.headerTitle = '当前假期';
        break;
      default:
        state.headerTitle = '当天信息';
        break;
    }
  }
}